package cqrtplm.mapper;

import cqrtplm.entity.DspfMbomDetailDO;
import cqrtplm.entity.RtCfgSerialNumberDO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface RtCfgSerialNumberMapper {

    int insertRtCfgSerialNumber(RtCfgSerialNumberDO rtCfgSerialNumber);

    List<RtCfgSerialNumberDO> selectRtCfgSerialNumberlList(RtCfgSerialNumberDO rtCfgSerialNumberDO);

    @Select("select oid from TY_ENUMERATIONDEF where name=#{name}")
    String selectDefoidByName(@Param("name") String name);
}
